package com.example.springboot.Aop.Controller;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/AopTest01")
public class AopTest01 {

    @RequestMapping(value = "/t1/{id}",method = RequestMethod.POST)
    @ResponseBody
    public String t1(@PathVariable Integer id){
        System.out.println("this is /AopTest01/t1 and " + id);
        return "this is /AopTest01/t1 and " + id;
    }

}
